projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011fea6
)
Allow wildcards [*?] in xml tag list.
author
oliskoli
<oliskoli>
Thu, 28 Jun 2007 22:37:13 +0000
(22:37 +0000)
committer
oliskoli
<oliskoli>
Thu, 28 Jun 2007 22:37:13 +0000
(22:37 +0000)
xmlgeneric.c
patch
|
blob
|
history
diff --git
a/xmlgeneric.c
b/xmlgeneric.c
index 16aa6513f48ad8928ae47baf0c5e706a3c6f7aa4..74ea8f1924e14497e427003152ee1a068251af75 100644
(file)
--- a/
xmlgeneric.c
+++ b/
xmlgeneric.c
@@
-160,7
+160,7
@@
xml_tbl_lookup(const char *tag, xg_cb_type cb_type)
{
xg_tag_mapping *tm;
for (tm = xg_tag_tbl; tm->tag_cb != NULL; tm++) {
- if (
0 == strcmp
(tm->tag_name, tag) && (cb_type == tm->cb_type)) {
+ if (
str_match
(tm->tag_name, tag) && (cb_type == tm->cb_type)) {
return tm->tag_cb;
}
}